package com.edu.edu.day25_homework;

import android.os.Environment;

import java.io.File;

/**
 * Created by Administrator on 2016/9/10.
 */
public class Contans {

    public static final String JSON_ISSHOW = "http://piao.163.com/m/movie/list.html?app_id=2&mobileType=iPhone&ver=2.5&channel=lede&deviceId=C1985DD9-0125-4AB5-B66B-B91A85824BBA&apiVer=11&city=110000";

    public static final String JSON_WILLSHOW ="http://piao.163.com/m/movie/list.html?app_id=2&mobileType=iPhone&ver=2.5&channel=lede&deviceId=C1985DD9-0125-4AB5-B66B-B91A85824BBA&apiVer=11&city=110000&latitude=40.04097&longitude=116.3787&offen_cinema_ids=&type=1";

//    public static final String JSON_RANK="http://piao.163.com/m/movie/detail.html?app_id=2&mobileType=iPhone&ver=2.5&channel=lede&deviceId=C1985DDj9-0125-4AB5-B66B-B91A85824BBA&apiVer=11&city=110000&movie_id=44086";
    public static final String LOCAL_PATH = Environment.getExternalStorageDirectory().getAbsolutePath();
    //磁盘存储路径-->图片
    public static final String DISK_CACHE_DIR =  LOCAL_PATH + File.separator+ "1607" +  File.separator + "photoCache";
    //磁盘存储路径-->视频
//    public static final String VIDEO_PATH =  LOCAL_PATH + File.separator+ "1607" + "videoCache";
    //MoviesFragment的json缓存路径
    public static final String MOVIES_JSON_DIR = LOCAL_PATH + File.separator + "1607"+File.separator + "movies.json";
    //最低存储空间
    public static final long DISK_MAX_SIZE = 5 * 1024 * 1024;
}
